<< Click to Display Table of Contents >> StoreSet |
![]() ![]() ![]() |
All current property settings (pen-size, alignment, colors, font, etc.) are stored in a buffer under the specified ID. You can create as much buffers as you like (only limited by available memory). To have access to the different buffers, you need to specify a unique ID for each. This is useful if you want to switch back to the current settings later again.
method void VPE.StoreSet(
long ID
)
long ID
the ID under which you store the properties
Remarks:
The following properties are stored:
BkgGradientMiddleColorPosition
RTFParagraph - The complete Paragraph Settings
Example:
Doc.StoreSet(1) // store the current settings
Doc.FontSize = 12 // modify the current properties,
Doc.PenSize = 6 // and output some text
Doc.WriteBox(1, 1, "Hello World!")
Doc.UseSet(1) // return to the original settings
Doc.RemoveSet(1) // delete the stored settings