StoreSet

<< Click to Display Table of Contents >>

Navigation:  Layout Functions >

StoreSet

Previous pageReturn to chapter overviewNext page

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:

  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:

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