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.
void VpeStoreSet(
VpeHandle hDoc,
int id
)
VpeHandle hDoc
Document Handle
int id
the id under which you store the properties
Remarks:
The following properties are stored:
FontName
FontSize
PenSize
PenStyle
PenColor
Bold
Italic
Underline
StrikeOut
TextAlignment
TextColor
BkgColor
BkgMode
GradientStartColor
GradientEndColor
BkgGradientTriColor
BkgGradientMiddleColorPosition
BkgGradientMiddleColor
GradientRotation
HatchStyle
HatchColor
CornerRadius
AutoBreakMode
Rotation
PicturePage
PictureType
PictureKeepAspect
PictureCache
PictureScale2Gray
PictureScale2GrayFloat
PictureX2YResolution
PictureBestFit
PictureEmbedInDoc
PictureDrawExact
PictureDefaultDPIX
PictureDefaultDPIY
JpegExportOptions
TiffExportOptions
BmpExportOptions
PnmExportOptions
GifExportOptions
PictureExportColorDepth
PictureExportDither
Charset
CharPlacement
InsertAtBottomZOrder
RTFParagraph - The complete Paragraph Settings
ChartProperties
BarcodeMainText
BarcodeAddText
BarcodeAlignment
BarcodeAutoChecksum
BarcodeThinBar
BarcodeThickBar
Viewable
Printable
Streamable
Shadowed
CharacterCount
SubdividerPenSize
SubdividerPenColor
AltSubdividerNPosition
AltSubdividerPenSize
AltSubdividerPenColor
BottomLinePenSize
BottomLinePenColor
SubdividerStyle
AltSubdividerStyle
EditFlags
BookmarkDestination
BookmarkStyle
BookmarkColor
Bar2DAlignment
DataMatrixEncodingFormat
DataMatrixEccType
DataMatrixRows
DataMatrixColumns
DataMatrixMirror
DataMatrixBorder
QRCodeVersion
QRCodeEccLevel
QRCodeMode
QRCodeBorder
PDF417ErrorLevel
PDF417Columns
PDF417Rows
AztecFlags
AztecControl
AztecMenu
AztecMultipleSymbols
AztecID
Example:
VpeStoreSet(hDoc, 1) // store the current settings
VpeSetFontSize(hDoc, 12) // modify the current properties,
VpeSetPenSize(hDoc, 6) // and output some text
VpeWriteBox(hDoc, 1, 1, "Hello World!")
VpeUseSet(hDoc, 1) // return to the original settings
VpeRemoveSet(hDoc, 1) // delete the stored settings