Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

DynaPDFMBS.krfClipToArtBox = 4
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
Function: One of the raster flag constants.
Notes:
Clip the page to the art box if any.

Only one of these clip flags must be set at time!

Feedback, Comments & Corrections

DynaPDFMBS.krfClipToBleedBox = 8
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
Function: One of the raster flag constants.
Notes:
Clip the page to the bleed box if any.

Only one of these clip flags must be set at time!

Feedback, Comments & Corrections

DynaPDFMBS.krfClipToTrimBox = 16
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
Function: One of the raster flag constants.
Notes:
Clip the page to the bleed box if any.

Only one of these clip flags must be set at time!

Feedback, Comments & Corrections

DynaPDFMBS.krfCompositeWhite = &h00001000
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 13.1
Function: One of the raster flag constants.
Notes: Composite pixel formats with an alpha channel finally with a white background. The alpha channel is 255 everywhere after composition. This flag is mainly provided for debug purposes but it can also be useful if the image must be copied on screen with a function that doesn't support alpha blending.

Feedback, Comments & Corrections

DynaPDFMBS.krfDefault = 0
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
Function: One of the raster flag constants.
Notes: Render the page as usual

Feedback, Comments & Corrections

DynaPDFMBS.krfDisableAAClipping = &h00200000
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 15.0
Function: One of the raster flag constants.
Notes: Disable Anti-Aliasing for clipping paths. This flag is the most important one since clipping paths cause often visible artefacts in PDF files with flattened transparency.

Feedback, Comments & Corrections

DynaPDFMBS.krfDisableAAText = &h00400000
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 15.0
Function: One of the raster flag constants.
Notes: Disable Anti-Aliasing for text.

Feedback, Comments & Corrections

DynaPDFMBS.krfDisableAAVector = &h00800000
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 15.0
Function: One of the raster flag constants.
Notes: Disable Anti-Aliasing for vector graphics.

Feedback, Comments & Corrections

DynaPDFMBS.krfDisableAntiAliasing = &h00E00000
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 15.0
Function: One of the raster flag constants.
Notes: Combination of krfDisableAAVector, krfDisableAAText and krfDisableAAClipping.

Feedback, Comments & Corrections

DynaPDFMBS.krfDisableBiLinearFilter = &h01000000
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 15.0
Function: One of the raster flag constants.
Notes: Disable the BiLevel filter for images. Sometetimes useful if sharp images are needed, e.g. for barcodes.

Feedback, Comments & Corrections

DynaPDFMBS.krfExclAnnotations = 32
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
Function: One of the raster flag constants.
Notes: Don't render annotations.

Feedback, Comments & Corrections

DynaPDFMBS.krfExclButtons = &h00004000
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 14.4
Function: One of the raster flag constants.
Notes:
If you want to render specific field types with RenderAnnotOrField() then use this flag to exclude buttons.
If all fields should be skipped then set the flag rfExclFormFields instead.

Feedback, Comments & Corrections

DynaPDFMBS.krfExclCheckBoxes = &h00008000
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 15.0
Function: One of the raster flag constants.
Notes:
If you want to render specific field types with RenderAnnotOrField() then use this flag to exclude checkboxes.
If all fields should be skipped then set the flag rfExclFormFields instead.

Feedback, Comments & Corrections

DynaPDFMBS.krfExclComboBoxes = &h00010000
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 15.0
Function: One of the raster flag constants.
Notes:
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.

Feedback, Comments & Corrections

DynaPDFMBS.krfExclFormFields = 64
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
Function: One of the raster flag constants.
Notes: Don't render form fields.

Feedback, Comments & Corrections

DynaPDFMBS.krfExclListBoxes = &h00020000
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 15.0
Function: One of the raster flag constants.
Notes:
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.

Feedback, Comments & Corrections

DynaPDFMBS.krfExclPageContent = &h00002000
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 14.4
Function: One of the raster flag constants.
Notes: If set, only annotations and form fields will be rendered (if any).

Feedback, Comments & Corrections

DynaPDFMBS.krfExclSigFields = &h00080000
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 15.0
Function: One of the raster flag constants.
Notes:
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.

Feedback, Comments & Corrections

DynaPDFMBS.krfExclTextFields = &h00040000
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 15.0
Function: One of the raster flag constants.
Notes:
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.

Feedback, Comments & Corrections

DynaPDFMBS.krfIgnoreCropBox = 2
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
Function: One of the raster flag constants.
Notes: Ignore the crop box and render anything inside the media box without clipping.

Feedback, Comments & Corrections

DynaPDFMBS.krfInitBlack = &h00000800
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 13.1
Function: One of the raster flag constants.
Notes: Initialize the image buffer to black before rendering (RGBA or GrayA must be initialized to black)

Feedback, Comments & Corrections

DynaPDFMBS.krfRenderInvisibleText = &h02000000
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 18.2
Function: One of the raster flag constants.
Notes: If set, treat text rendering mode Invisible as Normal.

Feedback, Comments & Corrections

DynaPDFMBS.krfRotate180 = &h00000200
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
Function: One of the raster flag constants.
Notes: Rotate the page 180 degress.

Feedback, Comments & Corrections

DynaPDFMBS.krfRotate270 = &h00000400
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
Function: One of the raster flag constants.
Notes: Rotate the page 270 degress.

Feedback, Comments & Corrections

DynaPDFMBS.krfRotate90 = &h00000100
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
Function: 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
Notes: Rotate the page 90 degress.

Feedback, Comments & Corrections

DynaPDFMBS.krfScaleToBBox = &h00100000
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 15.0
Function: One of the raster flag constants.
Notes: Meaningful only, if rfClipToArtBox, rfClipToBleedBox, or rfClipToTrimBox is set. If set, the picture size is set to the size of the whished bounding box.

Feedback, Comments & Corrections

DynaPDFMBS.krfScaleToMediaBox = 1
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
Function: One of the raster flag constants.
Notes: Render the real paper format. Contents outside the crop box is clipped.

Feedback, Comments & Corrections

DynaPDFMBS.krfSkipUpdateBG = &h00000080
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 12.2
Function: One of the raster flag constants.
Notes: Don't generate an update event after initializing the background to white.

Feedback, Comments & Corrections

DynaPDFMBS.kriAbsoluteColorimetric = 0
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 8.0
Function: One of the rendering intent constants.

Feedback, Comments & Corrections

DynaPDFMBS.krifByteAligned = &h00001000
Type Topic Plugin Version
const DynaPDF MBS DynaPDF Plugin 10.1
Function: One of the flags for adding raw images.

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 PDF Plugins