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.InsertPicture(pic as picture, PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.4 Yes Yes Yes Yes No
Function: Takes a REALbasic picture and adds it to the PDF.
Notes:
Please call SetUseTransparency(false) before inserting image if you don't like one of the colors (default white) to become transparent.
Internally this calls pdfInsertRawImage so check the documtation on this function in the dynapdf manual.

PosX and PosY are the destination position and ScaledWidth and ScaledHeight is the new size of the image.

See also:

Feedback, Comments & Corrections

DynaPDFMBS.InsertRawImage(Data as String, BitsPerPixel as Integer, ColorCount as Integer, ImgWidth as Integer, ImgHeight as Integer, PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.0 Yes Yes Yes Yes No
Function: The function inserts an image from a raw image buffer which contains no image header.
Notes: Also check the dynapdf manual on the pdfInsertRawImage function.

See also:

See also InsertRawImage function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.InsertRawImage(Memory as MemoryBlock, BitsPerPixel as Integer, ColorCount as Integer, ImgWidth as Integer, ImgHeight as Integer, PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function inserts an image from a raw image buffer which contains no image header.
Notes: Also check the dynapdf manual on the pdfInsertRawImage function.

See also:

See also InsertRawImage function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.InsertRawImageEx(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, Image as DynaPDFRawImageMBS) as Integer
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 inserts an image from a raw image buffer that contains no image header.
Notes:
See also InsertRawImageEx in dynapdf_help.pdf manual file.
Returns false if image parameter has invalid values.

See also InsertRawImageEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.IsBidiText(Text as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function returns the position of the first bidirectional character that can be found in the string or -1 if no such character can be found.
Notes:
Also check the dynapdf manual on the pdfIsBidiText function.
The text parameter is converted to unicode.

See also IsBidiText function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.IsColorPage(GrayIsColor as Boolean) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: This function checks whether a page is a color page or if all graphic elements of the page use black & white only.
Notes:
Value is 0 for false, 1 for true or negative for an error.
Also check the dynapdf manual on the pdfIsColorPage function.

See also IsColorPage function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.IsEmptyPage as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function checks whether a page is empty.
Notes:
Value is 0 for false, 1 for true or negative for an error.
Also check the dynapdf manual on the pdfIsEmptyPage function.

See also IsEmptyPage function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.LineAnnot(x1 as Double, y1 as Double, x2 as Double, y2 as Double, LineWidth as Double, StartLineEndStyle as Integer, EndLineEndStyle as Integer, FillColor as UInt32, StrokeColor as UInt32, ColorSpace as Integer, Author as string, Subject as string, Content as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 14.0 Yes Yes Yes Yes No
Function: Adds a line annotation.

See also LineAnnot function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.LineAnnotAnsi(x1 as Double, y1 as Double, x2 as Double, y2 as Double, LineWidth as Double, StartLineEndStyle as Integer, EndLineEndStyle as Integer, FillColor as UInt32, StrokeColor as UInt32, ColorSpace as Integer, Author as string, Subject as string, Content as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 14.0 Yes Yes Yes Yes No
Function: Adds a line annotation.

Feedback, Comments & Corrections

DynaPDFMBS.LineTo(PosX as Double, PosY as Double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function draws a path from the current position up to the specified point.
Example:
dim pdf as new DynaPDFMBS
dim f as FolderItem = SpecialFolder.Desktop.Child("Create PDF with Line.pdf")

pdf.SetLicenseKey "Starter" // For this example you can use a Starter, Lite, Pro or Enterprise License

// Create a new PDF
call pdf.CreateNewPDF f

// We want to use top-down coordinates
call pdf.SetPageCoords pdf.kpcTopDown

// Add a page
call pdf.Append

// black
call pdf.SetStrokeColor 0

// line down
call pdf.MoveTo(100,100)
call pdf.LineTo(200,200)
call pdf.StrokePath

// line up
call pdf.MoveTo(200,200)
call pdf.LineTo(300,100)
call pdf.StrokePath

// end page
call pdf.EndPage

// Close page
call pdf.CloseFile

// Open PDF
f.Launch
Notes: Also check the dynapdf manual on the pdfLineTo function.

See also LineTo function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.LoadCMap(CMapName as string, Embed as Boolean) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 10.1 Yes Yes Yes Yes No
Function: Loads a character map.

See also LoadCMap function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.LoadFDFData(FileName as folderitem, Password as string, Flags as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 9.4 Yes Yes Yes Yes No
Function: Loads PDF form data from the given PDF file.

See also LoadFDFData function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.LoadFDFDataEx(Buffer as memoryblock, Password as string, Flags as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.0 Yes Yes Yes Yes No
Function: Loads PDF form data from the given PDF file in the buffer.

See also:

See also LoadFDFDataEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.LoadFDFDataEx(Buffer as string, Password as string, Flags as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 9.4 Yes Yes Yes Yes No
Function: Loads PDF form data from the given PDF file in the buffer.

See also:

See also LoadFDFDataEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.LoadFont(Buffer as memoryblock, Style as Integer, size as Double, Embed as Boolean = false, CodePage as Integer = 2, CollectionIndex as UInt32 = 0) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.0 Yes Yes Yes Yes No
Function: The function loads a font from a file buffer.
Notes:
Also check the dynapdf manual on the pdfLoadFont function.
Added CollectionIndex parameter in 12.1 plugin version.

See also:

See also LoadFont function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.LoadFont(Buffer as string, Style as Integer, size as Double, Embed as Boolean = false, CodePage as Integer = 2, CollectionIndex as UInt32 = 0) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.1 Yes Yes Yes Yes No
Function: The function loads a font from a file buffer.
Notes:
Also check the dynapdf manual on the pdfLoadFont function.
Added CollectionIndex parameter in 12.1 plugin version.

See also:

See also LoadFont function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.LoadFontEx(File as folderitem, Style as Integer, size as Double, Embed as Boolean = false, CodePage as Integer = 2, CollectionIndex as UInt32 = 0) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.1 Yes Yes Yes Yes No
Function: The function loads a font from a font file and activates it in the graphics state if the function was called within an open page or template.
Notes: Also check the dynapdf manual on the pdfLoadFontExW function.

See also:

See also LoadFontEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.LoadFontEx(Filepath as string, Style as Integer, size as Double, Embed as Boolean = false, CodePage as Integer = 2, CollectionIndex as UInt32 = 0) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.1 Yes Yes Yes Yes No
Function: The function loads a font from a font file and activates it in the graphics state if the function was called within an open page or template.
Notes: Also check the dynapdf manual on the pdfLoadFontExW function.

See also:

See also LoadFontEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.LockLayer(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: Unlocks a layer.
Notes: Also check the dynapdf manual on the pdfLockLayer function.

See also LockLayer function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.MovePage(source as Integer, dest as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function moves a page to another position in the document.
Notes: Also check the dynapdf manual on the pdfMovePage function.

See also MovePage function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.MoveTo(PosX as Double, PosY as Double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function moves the current position to the point specified by PosX, PosY.
Example:
dim pdf as new DynaPDFMBS
dim f as FolderItem = SpecialFolder.Desktop.Child("Create PDF with Line.pdf")

pdf.SetLicenseKey "Starter" // For this example you can use a Starter, Lite, Pro or Enterprise License

// Create a new PDF
call pdf.CreateNewPDF f

// We want to use top-down coordinates
call pdf.SetPageCoords pdf.kpcTopDown

// Add a page
call pdf.Append

// black
call pdf.SetStrokeColor 0

// line down
call pdf.MoveTo(100,100)
call pdf.LineTo(200,200)
call pdf.StrokePath

// line up
call pdf.MoveTo(200,200)
call pdf.LineTo(300,100)
call pdf.StrokePath

// end page
call pdf.EndPage

// Close page
call pdf.CloseFile

// Open PDF
f.Launch
Notes: Also check the dynapdf manual on the pdfMoveTo function.

See also MoveTo function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.OpenImportBuffer(Buffer as Memoryblock, PwdType as Integer = 0, Password as string = "") as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.0 Yes Yes Yes Yes No
Function: The function reads an external PDF from a file buffer so that it can be imported entirely or parts of it.
Notes:
Also check the dynapdf manual on the pdfOpenImportBuffer function.
Requires DynaPDF Lite license.

See also:

See also OpenImportBuffer function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.OpenImportBuffer(Buffer as string, PwdType as Integer = 0, Password as string = "") as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function reads an external PDF from a file buffer so that it can be imported entirely or parts of it.
Notes:
Also check the dynapdf manual on the pdfOpenImportBuffer function.
Requires DynaPDF Lite license.

See also:

See also OpenImportBuffer function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.OpenImportFile(File as folderitem, PwdType as Integer = 0, Password as string = "") as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function opens an external PDF file so that it can be imported entirely or parts of it.
Notes:
Also check the dynapdf manual on the pdfOpenImportFileA function (pdfOpenImportFileW on Windows).
Requires DynaPDF Lite license.

See also OpenImportFile function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.OpenOutputFile(File as folderitem) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function opens the output file into which the PDF file should be written.
Notes: Also check the dynapdf manual on the pdfOpenOutputFileA function (pdfOpenOutputFileW on Windows).

See also OpenOutputFile function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.OpenOutputFileEncrypted(File as folderitem, OpenPwd as string, OwnerPwd as string, KeyLen as Integer, Restrict as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 16.3 Yes Yes Yes Yes No
Function:
Opens the output file and sets the encryption parameters.
Remarks:
Notes:
This function enables in combination with FlushPages the creation of very large encrypted PDF files with minimal memory usage.
The function can be called in a while statement, e.g. to display a open file dialog if the file could not be opened. Once the function succeeds the PDF file can be finished with CloseFile.

If the function succeeds the return value is true. If the function fails the return value is false.

See also OpenOutputFileEncrypted function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.OpenTag(Tag as Integer, Lang as string, AltText as string, Expansion as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.2 Yes Yes Yes Yes No
Function: Opens a tag.
Notes: Also check the dynapdf manual on the pdfOpenTag function.

See also OpenTag function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.OpenTagAnsi(Tag as Integer, Lang as string, AltText as string, Expansion 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: Opens a tag with ANSI encoding.

Feedback, Comments & Corrections

DynaPDFMBS.Optimize(Flags as Integer, Params as DynaPDFOptimizeParamsMBS = nil) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 14.2 Yes Yes Yes Yes No
Function: Optimizes PDF.
Notes: See dynapdf manual for details.

See also Optimize function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.PageLink(PosX as Double, PosY as Double, Width as Double, Height as Double, DestPage as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 7.6 Yes Yes Yes Yes No
Function: The function inserts a page link onto the current open page.
Notes: Also check the dynapdf manual on the pdfPageLink function.

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