Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

DynaPDFMBS.StampAnnotAnsi(SubType as Integer, PosX as Double, PosY as Double, Width as Double, Height as Double, Author as string, Subject as string, Comment as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.7 Yes Yes Yes Yes No
Function: Creates a stamp annotation with ANSI encoded texts.

Feedback, Comments & Corrections

DynaPDFMBS.StrokePath 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 strokes the current path without closing it.

See also StrokePath function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.TestGlyphs(FontHandle as Integer, Text as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 15.0 Yes Yes Yes Yes No
Function: The function checks whether all glyphs of the text are available in the specified font.
Example:
// create dummy PDF with one page
dim d as new myDynaPDFMBS

call d.CreateNewPDF
call d.Append

// check this text
dim x as string = "您好" // Hello in Chinese

// load 2 fonts to check
dim FontHandle1 as Integer = d.SetFont("Times", 12)
dim FontHandle2 as Integer = d.SetFont("Arial Unicode MS", 12)

dim r1 as Integer = d.TestGlyphs(FontHandle1, x)

if r1 = -1 then
MsgBox "Times supports chinese characters"
else
MsgBox "Times does not support chinese characters"
end if

dim r2 as Integer = d.TestGlyphs(FontHandle2, x)

if r2 = -1 then
MsgBox "Arial Unicode MS supports chinese characters"
else
MsgBox "Arial Unicode MS does not support chinese characters"
end if
Notes:
The return value is the position of the first missing glyph, or -1 if all glyphs are available.
If the font uses a mixed 8/16 bit CJK code page that requires a conversion to Unicode (a code page that ends with "_Uni"), then the return value corresponds to the converted Unicode string and not to the CJK input string.

See also TestGlyphs function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.TestGlyphsAnsi(FontHandle as Integer, Text as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 15.0 Yes Yes Yes Yes No
Function: The function checks whether all glyphs of the text are available in the specified font.
Notes:
The return value is the position of the first missing glyph, or -1 if all glyphs are available.
If the font uses a mixed 8/16 bit CJK code page that requires a conversion to Unicode (a code page that ends with "_Uni"), then the return value corresponds to the converted Unicode string and not to the CJK input string.
The text parameter is converted to ANSI.

Feedback, Comments & Corrections

DynaPDFMBS.TextAnnot(PosX as Double, PosY as Double, Width as Double, Height as Double, Author as string, Text as string, Icon as Integer, Open as boolean) 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 creates a text annotation.
Notes: The text and the author parameters are converted to unicode.

See also TextAnnot function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.TextAnnotAnsi(PosX as Double, PosY as Double, Width as Double, Height as Double, Author as string, Text as string, Icon as Integer, Open as boolean) as Integer
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 creates a text annotation.
Notes: The text and the author parameters are converted to ANSI.

Feedback, Comments & Corrections

DynaPDFMBS.TranslateCoords(OriginX as Double, OriginY 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 translates the coordinate system to the new origin OriginX, OriginY.

See also TranslateCoords function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.Triangle(x1 as Double, y1 as Double, x2 as Double, y2 as Double, x3 as Double, y3 as Double, FillMode 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 draws a triangle.

See also Triangle function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.UnLockLayer(layer as UInt32) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Locks a layer.

See also UnLockLayer function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.WatermarkAnnot(PosX as Double, PosY as Double, Width as Double, Height as Double) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 17.0 Yes Yes Yes Yes No
Function: Creates a Watermark annotation.
Notes:
Watermark annotations have no interactive elements like other annotation types. This property is useful in many cases because it is usually not possible to select or change the contents of a watermark annotation in viewer applications.
The annotation has no appearance after it was created. Call CreateAnnotAP to create an appearance template for the annotation. After the appearance template was created you can draw text, images or vector graphics into it. The template must be closed with EndTemplate when finished. It is also possible to import an external page or EMF contents into the template.
Watermark annotations can be shared on multiple pages. To place the annotation on other pages call AddAnnotToPage.

If the function succeeds the return value is the annotation handle, a value greater or equal zero. If the function fails the return value is a negative error code.

See also WatermarkAnnot function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.WebLink(PosX as Double, PosY as Double, Width as Double, Height as Double, aText as string) 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 inserts a web link onto the current open page.
Notes: The text parameter is converted to unicode.

See also WebLink function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.WebLinkAnsi(PosX as Double, PosY as Double, Width as Double, Height as Double, aText as string) as Integer
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 inserts a web link onto the current open page.
Notes: The text parameter is converted to ANSI.

Feedback, Comments & Corrections

DynaPDFMBS.WriteAngleText(aText as string, Angle as Double, PosX as Double, PosY as Double, Radius as Double, YOrigin 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 prints a string in a user defined angle around a radius.
Notes: The text parameter is converted to unicode.

See also:

See also WriteAngleText function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.WriteAngleText(glyphs() as Integer, Angle as Double, PosX as Double, PosY as Double, Radius as Double, YOrigin as Double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 10.4 Yes Yes Yes Yes No
Function: The function prints a string in a user defined angle around a radius.
Notes:
This version takes an array of integers. So if you are using the kcpUnicode on SetFont, please pass an array of unicode codepoints. If you use kcpGlyphIndexes, please pass an array of glyph values.

See also:

See also WriteAngleText function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.WriteAngleTextAnsi(aText as string, Angle as Double, PosX as Double, PosY as Double, Radius as Double, YOrigin as Double) 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 prints a string in a user defined angle around a radius.
Notes: The text parameter is converted to ANSI, so use only with SetFont with kcp1252.

Feedback, Comments & Corrections

DynaPDFMBS.WriteAngleTextDirect(aText as string, Angle as Double, PosX as Double, PosY as Double, Radius as Double, YOrigin as Double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 10.4 Yes Yes Yes Yes No
Function: The function prints a string in a user defined angle around a radius.
Notes: The text parameter is not converted, so pass a string in the right encoding.

See also:

Feedback, Comments & Corrections

DynaPDFMBS.WriteAngleTextDirect(glyphs() as Integer, Angle as Double, PosX as Double, PosY as Double, Radius as Double, YOrigin as Double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 10.4 Yes Yes Yes Yes No
Function: The function prints a string in a user defined angle around a radius.
Notes:
This version takes an array of integers. So pass in values in the encoding you are using. This can be glyph values or bytes in any encoding you selected in the SetFont method.

See also:

Feedback, Comments & Corrections

DynaPDFMBS.WriteFText(Align as Integer, aText as string) 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: Instead of printing text on a line by line basis it is also possible to output text into a rectangle by applying a formatting algorithm.
Notes:
The text parameter is converted to unicode.

The PageBreak event is called when needed by the plugin.

See also:

See also WriteFText function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.WriteFText(Align as Integer, glyphs() as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 10.4 Yes Yes Yes Yes No
Function: Instead of printing text on a line by line basis it is also possible to output text into a rectangle by applying a formatting algorithm.
Notes:
This version takes an array of integers. So if you are using the kcpUnicode on SetFont, please pass an array of unicode codepoints. If you use kcpGlyphIndexes, please pass an array of glyph values.


The PageBreak event is called when needed by the plugin.

See also:

See also WriteFText function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.WriteFTextAnsi(Align as Integer, aText as string) 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: Instead of printing text on a line by line basis it is also possible to output text into a rectangle by applying a formatting algorithm.
Notes:
The text parameter is converted to ANSI, so use only with SetFont with kcp1252.

The PageBreak event is called when needed by the plugin.

Feedback, Comments & Corrections

DynaPDFMBS.WriteFTextDirect(Align as Integer, aText as string) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 10.4 Yes Yes Yes Yes No
Function: Instead of printing text on a line by line basis it is also possible to output text into a rectangle by applying a formatting algorithm.
Notes:
The text parameter is not converted, so pass a string in the right encoding.

The PageBreak event is called when needed by the plugin.

See also:

Feedback, Comments & Corrections

DynaPDFMBS.WriteFTextDirect(Align as Integer, glyphs() as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 10.4 Yes Yes Yes Yes No
Function: Instead of printing text on a line by line basis it is also possible to output text into a rectangle by applying a formatting algorithm.
Notes:
This version takes an array of integers. So pass in values in the encoding you are using. This can be glyph values or bytes in any encoding you selected in the SetFont method.


The PageBreak event is called when needed by the plugin.

See also:

Feedback, Comments & Corrections

DynaPDFMBS.WriteFTextEx(PosX as Double, PosY as Double, Width as Double, Height as Double, Align as Integer, aText as string) 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 prints a formatted text exactly in the same way as WriteFText().
Notes:
The text parameter is converted to unicode.

The PageBreak event is called when needed by the plugin.

See also:

See also WriteFTextEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.WriteFTextEx(PosX as Double, PosY as Double, Width as Double, Height as Double, Align as Integer, glyphs() as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 10.4 Yes Yes Yes Yes No
Function: The function prints a formatted text exactly in the same way as WriteFText().
Notes:
This version takes an array of integers. So if you are using the kcpUnicode on SetFont, please pass an array of unicode codepoints. If you use kcpGlyphIndexes, please pass an array of glyph values.


The PageBreak event is called when needed by the plugin.

See also:

See also WriteFTextEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.WriteFTextExAnsi(PosX as Double, PosY as Double, Width as Double, Height as Double, Align as Integer, aText as string) 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 prints a formatted text exactly in the same way as WriteFText().
Notes:
The text parameter is converted to ANSI, so use only with SetFont with kcp1252.

The PageBreak event is called when needed by the plugin.

Feedback, Comments & Corrections

DynaPDFMBS.WriteFTextExDirect(PosX as Double, PosY as Double, Width as Double, Height as Double, Align as Integer, aText as string) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 10.4 Yes Yes Yes Yes No
Function: The function prints a formatted text exactly in the same way as WriteFText().
Notes:
The text parameter is not converted, so pass a string in the right encoding.

The PageBreak event is called when needed by the plugin.

See also:

Feedback, Comments & Corrections

DynaPDFMBS.WriteFTextExDirect(PosX as Double, PosY as Double, Width as Double, Height as Double, Align as Integer, glyphs() as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 10.4 Yes Yes Yes Yes No
Function: The function prints a formatted text exactly in the same way as WriteFText().
Notes:
This version takes an array of integers. So pass in values in the encoding you are using. This can be glyph values or bytes in any encoding you selected in the SetFont method.


The PageBreak event is called when needed by the plugin.

See also:

Feedback, Comments & Corrections

DynaPDFMBS.WriteStyledText(Align as Integer, StyledText as StyledText) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 16.5 Yes Yes Yes Yes No
Function: Writes styled text.
Notes: Same as WriteFText, but calls ConvertStyledText for you to convert the styled text to formatting commands.

See also:

Feedback, Comments & Corrections

DynaPDFMBS.WriteStyledText(Align as Integer, TextArea as TextArea) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 16.5 Yes Yes Yes No No
Function: Writes styled text from TextArea.
Notes: Same as WriteFText, but calls ConvertStyledText for you to convert the styled text to formatting commands.

See also:

Feedback, Comments & Corrections

DynaPDFMBS.WriteStyledTextEx(PosX as Double, PosY as Double, Width as Double, Height as Double, Align as Integer, StyledText as StyledText) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 16.5 Yes Yes Yes Yes No
Function: Writes styled text.
Notes: Same as WriteFTextEx, but calls ConvertStyledText for you to convert the styled text to formatting commands.

See also:

Feedback, Comments & Corrections

Previous items Next items

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




Links
MBS Xojo Chart Plugins