Platforms to show: All Mac Windows Linux Cross-Platform

Back to DynaPDFMBS class.

Previous items Next items

DynaPDFMBS.krfExclComboBoxes = &h00010000

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 15.0
One of the raster flag constants.

If you want to render specific field types with RenderAnnotOrField() then use this flag to exclude combobox.
If all fields should be skipped then set the flag rfExclFormFields instead.

DynaPDFMBS.krfExclFormFields = 64

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
One of the raster flag constants.

Don't render form fields.

DynaPDFMBS.krfExclListBoxes = &h00020000

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 15.0
One of the raster flag constants.

If you want to render specific field types with RenderAnnotOrField() then use this flag to exclude listbox.
If all fields should be skipped then set the flag rfExclFormFields instead.

DynaPDFMBS.krfExclPageContent = &h00002000

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 14.4
One of the raster flag constants.

If set, only annotations and form fields will be rendered (if any).

DynaPDFMBS.krfExclSigFields = &h00080000

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 15.0
One of the raster flag constants.

If you want to render specific field types with RenderAnnotOrField() then use this flag to exclude signature fields.
If all fields should be skipped then set the flag rfExclFormFields instead.

DynaPDFMBS.krfExclTextFields = &h00040000

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 15.0
One of the raster flag constants.

If you want to render specific field types with RenderAnnotOrField() then use this flag to exclude text fields.
If all fields should be skipped then set the flag rfExclFormFields instead.

DynaPDFMBS.krfIgnoreCropBox = 2

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
One of the raster flag constants.

Ignore the crop box and render anything inside the media box without clipping.

DynaPDFMBS.krfInitBlack = &h00000800

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 13.1
One of the raster flag constants.

Initialize the image buffer to black before rendering (RGBA or GrayA must be initialized to black)

DynaPDFMBS.krfRenderInvisibleText = &h02000000

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 18.2
One of the raster flag constants.

If set, treat text rendering mode Invisible as Normal.

DynaPDFMBS.krfRenderPrintState = &h20000000

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 23.1
One of the raster flag constants.

If set, the print state of layers, annotations, and form fields will be rendered.

DynaPDFMBS.krfRotate180 = &h00000200

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
One of the raster flag constants.

Rotate the page 180 degress.

DynaPDFMBS.krfRotate270 = &h00000400

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
One of the raster flag constants.

Rotate the page 270 degress.

DynaPDFMBS.krfRotate90 = &h00000100

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
One of the raster flag constants.
Example
dim pdf as new DynaPDFMBS // make subclass to catch error event

dim f as FolderItem = SpecialFolder.Desktop.Child("dynapdf_help.pdf")

// create PDF
call pdf.CreateNewPDF(nil)
// set import flags
call pdf.SetImportFlags(pdf.kifImportAll + pdf.kifImportAsPage)

// open import file
call pdf.OpenImportFile(f, 0, "")

// import all pdf pages
call pdf.ImportPDFFile(1, 1.0, 1.0)

dim PageCount as Integer = pdf.GetPageCount

// create rasterizer.
dim r as new DynaPDFRasterizerMBS(pdf, 1000,1000)

// create options
dim o as new DynaPDFRasterImageMBS

// fill white
o.InitWhite = true

// scale to fit
o.DefScale = o.kpsFitBest

// rotate
o.Flags = o.krfRotate90

// render all pages
for i as Integer = 1 to PageCount

dim p as DynaPDFPageMBS = pdf.GetPage(i)
if r.RenderPage(p, o) then
// save to disc
dim outfile as FolderItem = SpecialFolder.Desktop.Child("page "+Format(i,"0")+".jpg")
call outfile.SaveAsJPEGMBS(r.Pic, 75)
end
next

Rotate the page 90 degress.

DynaPDFMBS.krfScaleToBBox = &h00100000

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 15.0
One of the raster flag constants.

Meaningful only, if rfClipToArtBox, rfClipToBleedBox, or rfClipToTrimBox is set. If set, the picture size is set to the size of the whished bounding box.

DynaPDFMBS.krfScaleToMediaBox = 1

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
One of the raster flag constants.

Render the real paper format. Contents outside the crop box is clipped.

DynaPDFMBS.krfSkipUpdateBG = &h00000080

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
One of the raster flag constants.

Don't generate an update event after initializing the background to white.

DynaPDFMBS.kriAbsoluteColorimetric = 0

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 8.0
One of the rendering intent constants.

DynaPDFMBS.krifByteAligned = &h00001000

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 10.1
One of the flags for adding raw images.

DynaPDFMBS.krifCMYKData = &h00004000

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 10.1
One of the flags for adding raw images.

DynaPDFMBS.krifRGBData = &h00002000

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 10.1
One of the flags for adding raw images.

DynaPDFMBS.kriPerceptual = 1

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 8.0
One of the rendering intent constants.

DynaPDFMBS.kriRelativeColorimetric = 2

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 8.0
One of the rendering intent constants.

DynaPDFMBS.kriSaturation = 3

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 8.0
One of the rendering intent constants.

DynaPDFMBS.krmBoundingBox = 0

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 8.0
One of the DynaPDF constants for a 3D rendering mode.

DynaPDFMBS.krmHiddenWireframe = 1

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 8.0
One of the DynaPDF constants for a 3D rendering mode.

DynaPDFMBS.krmIllustration = 2

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 8.0
One of the DynaPDF constants for a 3D rendering mode.

DynaPDFMBS.krmNotSet = 15

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 8.0
One of the DynaPDF constants for a 3D rendering mode.

DynaPDFMBS.krmShadedIllustration = 3

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 8.0
One of the DynaPDF constants for a 3D rendering mode.

DynaPDFMBS.krmShadedVertices = 4

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 8.0
One of the DynaPDF constants for a 3D rendering mode.

DynaPDFMBS.krmShadedWireframe = 5

Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 8.0
One of the DynaPDF constants for a 3D rendering mode.

Previous items Next items

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


💬 Ask a question or report a problem
The biggest plugin in space...