Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

DynaPDFMBS.GetResolution as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: The function returns the resolution in DPI (Dots per Inch), in which images are stored by DynaPDF.

See also GetResolution function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetSaveNewImageFormat as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: If false, images are not downscaled if necessary.

See also GetSaveNewImageFormat function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetSeparationInfo(byref Colorant as string, byref ColorSpace as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: The function returns the separation info stored in the current open page.

See also GetSeparationInfo function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetStrokeColor as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: The function returns the current stroke color.

See also GetStrokeColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetSubmitAction(Handle as UInt32) as DynaPDFSubmitFormActionMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 15.3 Yes Yes Yes Yes All
Function: The function returns the properties of a Submit Form Action.
Notes: Returns nil in case of an error.

See also GetSubmitAction function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetSysFontInfo as DynaPDFSysFontMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 15.0 Yes Yes Yes Yes All
Function: Returns the most important properties of a system font.
Example:
// list all fonts
dim d as new DynaPDFMBS

dim f as DynaPDFSysFontMBS = d.GetSysFontInfo
while f<>nil
Listbox1.AddRow f.FamilyName

f = f.NextFont
wend
Notes:
The function returns the fonts in the current font search order. That means if the search order is {fbtTrueType, fbtOpenType, fbtType1, fbtStdFont}, for example, then the function returns first all TrueType fonts sorted in ascending order, then all OpenType fonts, and so on.
Since standard fonts are no system fonts, these fonts are not returned.

See also:

See also GetSysFontInfo function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetSysFontInfo(PostscriptName as String) as DynaPDFSysFontMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 17.2 Yes Yes Yes Yes All
Function: Queries system font with given postscript name.
Example:
dim d as new DynaPDFMBS

// find one font with postscript name
dim font as DynaPDFSysFontMBS = d.GetSysFontInfo("Verdana-BoldItalic")

// find all with family name
dim fonts() as DynaPDFSysFontMBS = d.GetSysFontInfos("Verdana")

Break // see in debugger
Notes: Returns nil if font is not found.

See also:

See also GetSysFontInfo function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetSysFontInfos as DynaPDFSysFontMBS()
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 16.1 Yes Yes Yes Yes All
Function: Returns an array with the most important properties of system fonts.
Example:
dim pdf as new MyDynaPDFMBS

// get all fonts
dim fonts() as DynaPDFSysFontMBS = pdf.GetSysFontInfos

// add one row for each font
for each f as DynaPDFSysFontMBS in fonts

dim name as string = f.FamilyName

if f.BaseType = pdf.kfbtOpenType and f.CIDOrdering = "" then
// This font cannot be used with Unicode

else
// Anything is ok
end if

next
Notes:
The function returns the fonts in the current font search order. That means if the search order is {fbtTrueType, fbtOpenType, fbtType1, fbtStdFont}, for example, then the function returns first all TrueType fonts sorted in ascending order, then all OpenType fonts, and so on.
Since standard fonts are no system fonts, these fonts are not returned.

See also:

Feedback, Comments & Corrections

DynaPDFMBS.GetSysFontInfos(Name as String) as DynaPDFSysFontMBS()
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 17.2 Yes Yes Yes Yes All
Function: Returns an array with the most important properties of system fonts.
Example:
dim d as new DynaPDFMBS

// find one font with postscript name
dim font as DynaPDFSysFontMBS = d.GetSysFontInfo("Verdana-BoldItalic")

// find all with family name
dim fonts() as DynaPDFSysFontMBS = d.GetSysFontInfos("Verdana")

Break // see in debugger
Notes:
Matchs fonts by family name, full name or Postscript name.

The function returns the fonts in the current font search order. That means if the search order is {fbtTrueType, fbtOpenType, fbtType1, fbtStdFont}, for example, then the function returns first all TrueType fonts sorted in ascending order, then all OpenType fonts, and so on.
Since standard fonts are no system fonts, these fonts are not returned.

See also:

Feedback, Comments & Corrections

DynaPDFMBS.GetTabLen as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: The function returns the tabulator length in spaces that is used to emulate tabulators during text formatting (see WriteFText() for further information).

See also GetTabLen function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetTemplCount as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: The function returns the number of templates used by a page.

See also GetTemplCount function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetTemplHandle as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: The function returns the handle of the current open template or a negative error code on failure.

See also GetTemplHandle function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetTemplHeight(Handle as Integer) as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: The function returns the height of a template.

See also GetTemplHeight function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetTemplWidth(Handle as Integer) as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: Returns the width of a template. The parameter Handle must be a valid template handle.
Notes: If the function succeeds the return value is the width of the template. If the function fails the return value is a negative error code.

See also GetTemplWidth function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetTextDrawMode as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: The function returns the text draw mode. Se draw modes are described in detail under SetTextDrawMode().

See also GetTextDrawMode function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetTextFieldValue(Field as Integer, byref Value as string, byref DefValue as string) as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes All
Function: Queries the text of a field.
Notes: The strings may be ANSI or Unicode encoded.

See also GetTextFieldValue function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetTextHeight(Align as Integer, aText as string) as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 13.3 Yes Yes Yes Yes All
Function: The function measures the height of a formatted text block.
Example:
dim pdf as DynaPDFMBS // your PDF instance

dim text as string = "Hello \ul#World"

dim h1 as Integer = pdf.GetTextHeight(pdf.ktaLeft, text)
dim h2 as Integer = pdf.GetFTextHeight(pdf.ktaLeft, text)

dim h3 as Integer = pdf.GetTextHeightEx(150, pdf.ktaLeft, text)
dim h4 as Integer = pdf.GetFTextHeightEx(150, pdf.ktaLeft, text)

// see different heights in debugger.
Notes:
GetTextHeight does escape backslashes so no formatting commands are taken from the string.
The text parameter is converted to unicode.

Feedback, Comments & Corrections

DynaPDFMBS.GetTextHeightAnsi(Align as Integer, aText as string) as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 13.3 Yes Yes Yes Yes All
Function: The function measures the height of a formatted text block.
This item is deprecated and should no longer be used. You can use Non ANSI function. instead.
Notes:
GetTextHeightAnsi does escape backslashes so no formatting commands are taken from the string.

The text parameter is converted to ANSI.

Feedback, Comments & Corrections

DynaPDFMBS.GetTextHeightEx(Width as Double, Align as Integer, aText as string) as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 13.3 Yes Yes Yes Yes All
Function: The function measures the height of a formatted text block.
Example:
dim pdf as new MyDynaPDFMBS

call pdf.CreateNewPDF nil
call pdf.Append

call pdf.SetFont("Helvetica", pdf.kfsnone, 12, true, pdf.kcpUnicode)

dim h as Double = pdf.GetTextHeightEx(100, pdf.ktaLeft, "Hello World. Just a test string.")

MsgBox "height: "+str(h)

call pdf.EndPage
call pdf.CloseFile
Notes:
GetTextHeightEx does escape backslashes so no formatting commands are taken from the string.
The text parameter is converted to unicode.

Feedback, Comments & Corrections

DynaPDFMBS.GetTextHeightExAnsi(Width as Double, Align as Integer, aText as string) as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 13.3 Yes Yes Yes Yes All
Function: The function measures the height of a formatted text block.
This item is deprecated and should no longer be used. You can use Non ANSI function. instead.
Notes:
GetTextHeightExAnsi does escape backslashes so no formatting commands are taken from the string.
The text parameter is converted to ANSI.

Feedback, Comments & Corrections

DynaPDFMBS.GetTextRect(byref PosX as Double, byref PosY as Double, byref Width as Double, byref Height as Double) as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: The function retrieves the bounding rectangle to output formatted text.

See also GetTextRect function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetTextRise as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: The function returns the current text rise used to output text.

See also GetTextRise function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetTextScaling as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: The function returns the current value of horizontal text scaling.

See also GetTextScaling function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetTextWidth(aText as string) as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: The function calculates the width of a string.
Notes: The text parameter is converted to unicode.

See also:

See also GetTextWidth function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetTextWidthAnsi(aText as string) as Double
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.3 Yes Yes Yes Yes All
Function: The function calculates the width of a string.
This item is deprecated and should no longer be used. You can use Non ANSI function. instead.
Notes: The text parameter is converted to ANSI.

See also GetTextWidth function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetTransparentColor as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: The function returns the transparent color value that is used for newly inserted images.

See also GetTransparentColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetTrapped as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: The function returns the trapped key of the document.

See also GetTrapped function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetTypoLeading as double
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 21.0 Yes Yes Yes Yes All
Function: Returns the typographic leading or line height of a font.
Notes:
This is sTypoAscender – sTypoDescender + sTypoLineGap of the OS/2 table of TrueType and OpenType fonts. The value is scaled to the current font size. Type1 fonts do not support these metrics.

The function can be called after a font was activated in the graphics state, e.g. with SetFont(), SetFontEx(), SetCIDFont(), or ChangeFont().

If typographic metrics are not available the return value is Ascent – Descent. If the value is smaller than the font size then the font size is returned.

If the function succeeds the return value is the typographic leading of the active font, this is a value greater zero. If the function fails the return value is a negative error code.

See also GetTypoLeading function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetURIAction(index as Integer) as DynaPDFURIActionMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 17.0 Yes Yes Yes Yes All
Function: Queries details for an URI action.
Notes: Index is from 0 to GetActionCount-1.

See also GetURIAction function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetUseExactPwd as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes All
Function: If the property UseExactPwd is false, an encrypted PDF file can always be decrypted, if either the open or owner password in the file is an empty string.

See also GetUseExactPwd function in DynaPDF manual.

Feedback, Comments & Corrections

Previous items Next items

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

The biggest plugin in space...




Links
MBS Xojo Plugins

Start Chat