shape.Transparency.Freeze() / Unfreeze()
Freezes the transparency so it no longer follows the shape when you move or scale it. Keeps complex stacks from drifting.
Signature
shape.Transparency.Freeze() / Unfreeze()
Notes
Freezes the transparency so it no longer follows the shape when you move or scale it. Keeps complex stacks from drifting.
Python example (runnable)
Requires
pywin32. The example assumes app / doc / page / layer are already connected.
See Connection & InitPython
shape = app.ActiveSelectionRange(1)
shape.Transparency.ApplyUniformTransparency(60)
print("Before freezing: ", shape.Transparency.Frozen) # False
shape.Transparency.Freeze()
print("After freezing: ", shape.Transparency.Frozen) # True
shape.Transparency.Unfreeze() # restore
print("After unfreezing: ", shape.Transparency.Frozen)
About this section: Transparency & Blend
Transparency & Blend — opacity and merge modes.
- This section has 7 entries; this is one of them.
- See the full section index: Transparency & Blend
Other entries in this section
- shape.Transparency.ApplyUniformTransparency(Value)Even transparency across the shape, 0-100. Watermarks, tint blocks, se
- shape.Transparency.ApplyFountainTransparency(Start, End)Gradient transparency: one end transparent, the other not. The most na
- shape.Transparency.MergeModeBlend mode (multiply, screen, overlay and so on). The enum values shif
- shape.Transparency.TypeThe current transparency type (none, uniform, fountain, pattern, textu
- shape.Transparency.ApplyNoTransparency()Clears transparency back to fully opaque. Handy for normalizing a pile
- shape.Transparency.ApplyPatternTransparency() / ApplyTextureTransparency()Drives transparency from a pattern or texture, for a mottled, frosted,