Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

DynaPDFMBS.GetSeparationInfo(byref Colorant as string, byref 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 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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 15.3 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 15.0 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 17.2 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 16.1 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 17.2 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.3 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.3 Yes Yes Yes Yes No
Function: The function measures the height of a formatted text block.
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.3 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.3 Yes Yes Yes Yes No
Function: The function measures the height of a formatted text block.
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.3 Yes Yes Yes Yes No
Function: The function calculates the width of a string.
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the trapped key of the document.

See also GetTrapped function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetURIAction(index as Integer) as DynaPDFURIActionMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 17.0 Yes Yes Yes Yes No
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 Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
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

DynaPDFMBS.GetUseGlobalImpFiles 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 specifies whether import files should be loaded permanent into memory, e.g. to enable splitting of large PDF files.

See also GetUseGlobalImpFiles function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetUserRights as Integer
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 returns the encryption flags of an imported PDF file or -1 if the imported PDF file was not encrypted.

See also GetUserRights function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetUserUnit as single
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 11.3 Yes Yes Yes Yes No
Function: The function returns the user unit of the current open page.
Notes:
A user unit acts like a scaling factor. The page format and all page coordinates are multiplied with this factor in a viewer application. The default size of a PDF unit is 1/72 inch and the default user unit is 1.0. User units can be useful if the page format would be too large to be expressed in standard PDF units. The largest page format in PDF is limited to 14400 units or 200 inches. This limit can be extended with the user unit.
The largest value that is supported is 75.0 which results in a maximum page format of 15,000 x 15,000 inches or 1,800,000 units.

See also GetUserUnit 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 Chart Plugins