Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

DynaPDFMBS.SetOrientation(Value as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function sets the orientation of a page.
Notes: Also check the dynapdf manual on the pdfSetOrientation function.

See also SetOrientation function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetOrientationEx(Value as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function changes the orientation of a page, incl. important page properties such as the width and height, and the coordinate system.
Notes: Also check the dynapdf manual on the pdfSetOrientationEx function.

See also SetOrientationEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetPageCoords(PageCoords as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The native coordinate system of the Portable Document Format is bottom up.
Notes: Also check the dynapdf manual on the pdfSetPageCoords function.

See also SetPageCoords function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetPageFormat(Value as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function sets a predefined page or paper format.
Notes:
Also check the dynapdf manual on the pdfSetPageFormat function.

Common paper formats and sizes in points:

FormatSize in units (Width x Height)
DIN A3842.0 x 1191.0
DIN A4595.0 x 842.0
DIN A5419.0 x 595.0
DIN B4709.0 x 1001.0
DIN B5499.0 x 709.0
DIN B6354.0 x 499.0
DIN C3918.0 x 1298.0
DIN C4649.0 x 918.0
DIN C5459.0 x 649.0
DIN C6323.0 x 459.0
DIN C65323.0 x 649.0
DIN DL312.0 x 624.0
DIN E4623.0 x 879.0
DIN E5439.0 x 624.0
DIN E6312.0 x 439.0
DIN E65312.0 x 624.0
DIN M5439.0 x 632.0
DIN M65317.0 x 632.0
US Legal612.0 x 1008.0
US Letter612.0 x 792.0

See also SetPageFormat function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetPageHeight(value as Double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function changes the height of the currently open page if any, or the default height for newly created pages.
Example:
dim pdf as DynaPDFMBS // your DynaPDF object
dim bBool as Boolean
dim dWidth as Double = 800 // new width
dim dHeight as Double = 600 // new heihht

// define page size
bBool=pdf.SetPageWidth(dWidth)
bBool=pdf.SetPageHeight(dHeight)
Notes:
Also check the dynapdf manual on the pdfSetPageHeight function.

Common paper formats and sizes in points:

FormatSize in units (Width x Height)
DIN A3842.0 x 1191.0
DIN A4595.0 x 842.0
DIN A5419.0 x 595.0
DIN B4709.0 x 1001.0
DIN B5499.0 x 709.0
DIN B6354.0 x 499.0
DIN C3918.0 x 1298.0
DIN C4649.0 x 918.0
DIN C5459.0 x 649.0
DIN C6323.0 x 459.0
DIN C65323.0 x 649.0
DIN DL312.0 x 624.0
DIN E4623.0 x 879.0
DIN E5439.0 x 624.0
DIN E6312.0 x 439.0
DIN E65312.0 x 624.0
DIN M5439.0 x 632.0
DIN M65317.0 x 632.0
US Legal612.0 x 1008.0
US Letter612.0 x 792.0

See also SetPageHeight function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetPageLayout(Layout as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function sets the page layout that is used when opening the document with Adobe's Acrobat.
Example:
dim pdf as DynaPDFMBS // your DynaPDF object
dim bBool as Boolean

// define page view
'plSinglePage = 0, // Show one page at time
'plOneColumn = 1, // Show the pages continous
'plTwoColumnLeft = 2, // Two columns, start with left column
'plTwoColumnRight = 3 // Two columns, start with right column
bBool=pdf.SetPageLayout(0)
Notes: Also check the dynapdf manual on the pdfSetPageLayout function.

See also SetPageLayout function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetPageMode(Mode as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function sets the page mode that is used when opening the document with Adobe's Acrobat.
Example:
dim pdf as DynaPDFMBS // your DynaPDF object
dim bBool as Boolean

// define page mode
'pmUseNone = 0, // Default
'pmUseOutlines = 1, // Show the outline tree
'pmUseThumbs = 2, // Show the thumb nails
'pmFullScreen = 3 // Open the document in full-screen mode
bBool=pdf.SetPageMode(0)
Notes: Also check the dynapdf manual on the pdfSetPageMode function.

See also SetPageMode function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetPageWidth(value as Double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function changes the width of the currently open page if any, or the default width for newly created pages.
Example:
dim pdf as DynaPDFMBS // your DynaPDF object
dim bBool as Boolean
dim dWidth as Double = 800 // new width
dim dHeight as Double = 600 // new heihht

// define page size
bBool=pdf.SetPageWidth(dWidth)
bBool=pdf.SetPageHeight(dHeight)
Notes:
Also check the dynapdf manual on the pdfSetPageWidth function.

Common paper formats and sizes in points:

FormatSize in units (Width x Height)
DIN A3842.0 x 1191.0
DIN A4595.0 x 842.0
DIN A5419.0 x 595.0
DIN B4709.0 x 1001.0
DIN B5499.0 x 709.0
DIN B6354.0 x 499.0
DIN C3918.0 x 1298.0
DIN C4649.0 x 918.0
DIN C5459.0 x 649.0
DIN C6323.0 x 459.0
DIN C65323.0 x 649.0
DIN DL312.0 x 624.0
DIN E4623.0 x 879.0
DIN E5439.0 x 624.0
DIN E6312.0 x 439.0
DIN E65312.0 x 624.0
DIN M5439.0 x 632.0
DIN M65317.0 x 632.0
US Legal612.0 x 1008.0
US Letter612.0 x 792.0

See also SetPageWidth function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetPDFVersion(Version as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function changes the output PDF file version.
Example:
const pvPDF_1_3=3

dim pdf as DynaPDFMBS // your DynaPDF object
dim bBool as Boolean

// ask to create a pdf in version 1.3
bBool=pdf.SetPDFVersion(DynapdfMBS.kpvPDFA_2005)
Notes:
Also check the dynapdf manual on the pdfSetPDFVersion function.
Requires DynaPDF Lite license for PDF/A and PDF/X versions.

See also SetPDFVersion function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetPrintSettings(Mode as Integer, PickTrayByPDFSize as Integer, NumCopies as Integer, PrintScaling as Integer, PrintRanges() as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.7 Yes Yes Yes Yes No
Function: Sets the print settings.
Notes:
This is a PDF 1.7 extension.

For the Mode use the kdpm* constants.
For the PrintScaling use the kps* constants.

See also SetPrintSettings function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetResolution(Value as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function sets the resolution in DPI (Dots per Inch), in which images are stored by DynaPDF.
Example:
dim pdf as DynaPDFMBS // your DynaPDF object
dim bBool as Boolean

// set maximum resolution
bBool = pdf.SetResolution(150)
Notes: Also check the dynapdf manual on the pdfSetResolution function.

See also SetResolution function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetSaveNewImageFormat(value as Boolean) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The property SaveNewImageFormat specifies whether images should be downscaled if the original resolution of the image is higher than the value of the property resolution (see also SetResolution()).
Example:
dim pdf as DynaPDFMBS // your DynaPDF object
dim bBool as Boolean

// whether you want image to be recompressed
bBool=pdf.SetSaveNewImageFormat(False)
Notes: Also check the dynapdf manual on the pdfSetSaveNewImageFormat function.

See also SetSaveNewImageFormat function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetSeparationInfo(Handle as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function sets the separation info of the current open page.
Notes: Also check the dynapdf manual on the pdfSetSeparationInfo function.

See also SetSeparationInfo function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetStrokeColor(ColorValue as color) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 14.0 Yes Yes Yes Yes No
Function: The function sets the color used for stroked graphics objects.
Notes:
Raises an exception if current color space is CMYK or Gray and not RGB.
Also check the dynapdf manual on the pdfSetStrokeColor function.

See also:

See also SetStrokeColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetStrokeColor(ColorValue as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function sets the color used for stroked graphics objects.
Notes: Also check the dynapdf manual on the pdfSetStrokeColor function.

See also:

See also SetStrokeColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetStrokeColor(values() as Double) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 11.2 Yes Yes Yes Yes No
Function: Sets stroke color based on an array of floats.
Notes:
The number of components must match.
Also check the dynapdf manual on the pdfSetStrokeColorF function.

See also:

See also SetStrokeColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetStrokeColor(values() as single) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 11.2 Yes Yes Yes Yes No
Function: Sets stroke color based on an array of floats.
Notes:
The number of components must match.
Also check the dynapdf manual on the pdfSetStrokeColorF function.

See also:

See also SetStrokeColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetStrokeColorEx(colorvalues as memoryblock, count as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 9.1 Yes Yes Yes Yes No
Function: Sets the stroke color using the values in parameters.
Example:
dim p as DynaPDFMBS // get a pdf object

dim colorvalues as memoryblock

colorvalues=NewMemoryBlock(3)
colorvalues.Byte(0)=255
colorvalues.Byte(1)=128
colorvalues.Byte(2)=0

if p.SetStrokeColorEx(colorvalues, 3) then
' ok
else
' failed
end if
Notes: Pass as many color values as needed for the current color space. 3 for RGB, 4 for CMYK. All values must be in the range of 0 to 255.

See also:

See also SetStrokeColorEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetStrokeColorEx(ParamArray colorvalue as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 9.1 Yes Yes Yes Yes No
Function: Sets the stroke color using the values in parameters.
Example:
dim p as DynaPDFMBS // get a pdf object

if p.SetStrokeColorEx(255,128,0) then
' ok
else
' failed
end if
Notes: Pass as many color values as needed for the current color space. 3 for RGB, 4 for CMYK. All values must be in the range of 0 to 255.

See also:

See also SetStrokeColorEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetStrokeColorSpace(Colorspace as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function changes the stroke color space. In PDF, fill and stroke colors use both their own color spaces.
Notes: Also check the dynapdf manual on the pdfSetStrokeColorSpace function.

See also SetStrokeColorSpace function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetTabLen(TabLen as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function sets the tabulator length, specified in number of spaces, which will be used to emulate tabulators during text formatting (see WriteFText() for further information).
Notes: Also check the dynapdf manual on the pdfSetTabLen function.

See also SetTabLen function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetTextDrawMode(Mode as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The text draw mode specifies how text should be rendered.
Notes: Also check the dynapdf manual on the pdfSetTextDrawMode function.

See also SetTextDrawMode function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetTextFieldValue(Field as Integer, Value as string, DefValue as string, Align as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function sets or changes the value and default value of a text field.
Notes:
Also check the dynapdf manual on the pdfSetTextFieldValueW function.
The Value and the DefValue strings are converted to unicode.

See also SetTextFieldValue function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetTextFieldValueAnsi(Field as Integer, Value as string, DefValue as string, Align as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.3 Yes Yes Yes Yes No
Function: The function sets or changes the value and default value of a text field.
Notes:
Also check the dynapdf manual on the pdfSetTextFieldValueA function.
The Value and the DefValue strings are converted to ANSI.

Feedback, Comments & Corrections

DynaPDFMBS.SetTextFieldValueAnsiEx(Field as Integer, Value as string) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
Function: Sets the text field value.

Feedback, Comments & Corrections

DynaPDFMBS.SetTextFieldValueEx(Field as Integer, Value as string) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
Function: Sets the text field value.

See also SetTextFieldValueEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetTextRect(PosX as Double, PosY as Double, Width as Double, Height as Double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function defines the output rectangle that is used to output formatted text by the function WriteFText().
Notes: Also check the dynapdf manual on the pdfSetTextRect function.

See also SetTextRect function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetTextRise(value as Double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: Text rise specifies the distance, to move the baseline up or down from its default location.
Notes: Also check the dynapdf manual on the pdfSetTextRise function.

See also SetTextRise function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetTextScaling(value as Double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The scaling value adjusts the width of glyphs by stretching or compressing them in the horizontal direction.
Notes: Also check the dynapdf manual on the pdfSetTextScaling function.

See also SetTextScaling function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.SetTransparentColor(ColorValue as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function sets the transparent color which is used for newly inserted images.
Notes: Also check the dynapdf manual on the pdfSetTransparentColor function.

See also SetTransparentColor function in DynaPDF manual.

Feedback, Comments & Corrections

Previous items Next items

The items on this page are in the following plugins: MBS DynaPDF Plugin.




Links
MBS Xojo Plugins