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

DynaPDFColorSpaceMBS.Alternate as DynaPDFColorSpaceMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 11.1 Yes Yes Yes Yes No
Function: The alternative color space.
Notes:
Only set if the color space contains an alternate or base color space.
(Read only property)

Feedback, Comments & Corrections

DynaPDFColorSpaceMBS.AlternateType as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 11.1 Yes Yes Yes Yes No
Function: Alternate color space or base space of an Indexed or Pattern color space.
Notes: (Read only property)

Feedback, Comments & Corrections

DynapdfColorSpaceMBS.Buffer as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
Function: Contains either an ICC profile or the color table of an Indexed color space.
Notes: (Read only property)

Feedback, Comments & Corrections

DynapdfColorSpaceMBS.BufferSize as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
Function: The buffer length in bytes.
Notes: (Read only property)

Feedback, Comments & Corrections

DynapdfColorSpaceMBS.ColorantsCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
Function: The number of colorants in the array.
Example:
Sub DrawSomething(pdf as DynaPDFMBS)
// draw all colorants with their own color
Dim MyX, MyY as Double

MyX = 10
MyY = 100

// set a font
call pdf.SetFont "Times", pdf.kfsItalic, 10.0, true, pdf.kcp1252

// loop over all color spaces
dim Colorcount as Integer = pdf.GetColorSpaceCount

For j as Integer = 0 to Colorcount-1
MyX = 10
dim MyColourSpace as DynapdfColorSpaceMBS = PDF.GetColorSpaceObj(j)
dim ColorantsCount as Integer = MyColourSpace.ColorantsCount
dim c as Integer = MyColourSpace.NumInComponents
Call pdf.SetExtColorSpace j

// draw name of each colorant
for i as Integer = 0 to c-1

// build array with colors and set 100% for the one color we need
dim values() as Double
redim values(c-1)
values(i) = 1.0

// get name
dim name as string = "#"+str(i)
if i <= ColorantsCount then
name = MyColourSpace.Colorants(i)
end if

// seaw name
Call pdf.SetFillColor(values)
call pdf.WriteText(MyX,MyY, name)

// next
MyX = MyX + pdf.GetTextWidth(name) + 20
next

// next
MyY = MyY+20
Next
End Sub
Notes: (Read only property)

Feedback, Comments & Corrections

DynaPDFColorSpaceMBS.Description as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 16.0 Yes Yes Yes Yes No
Function: The description text for color space.
Notes:
For color spaces with valid ICC profile only.
(Read only property)

Feedback, Comments & Corrections

DynaPDFColorSpaceMBS.DeviceNAttributes as DynaPDFDeviceNAttributesMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 11.1 Yes Yes Yes Yes No
Function: Optional attributes of DeviceN or NChannel color spaces.
Notes: (Read only property)

Feedback, Comments & Corrections

DynaPDFColorSpaceMBS.Handle as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 11.1 Yes Yes Yes Yes No
Function: The internal handle for this color space object.
Notes: (Read only property)

Feedback, Comments & Corrections

DynapdfColorSpaceMBS.HasBlackPoint as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
Function: Whether the black point array has values.
Notes: (Read only property)

Feedback, Comments & Corrections

DynapdfColorSpaceMBS.HasGamma as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
Function: Whether the gamma array has values.
Notes: (Read only property)

Feedback, Comments & Corrections

DynapdfColorSpaceMBS.HasMatrix as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
Function: Whether the matrix array has values.
Notes: (Read only property)

Feedback, Comments & Corrections

DynapdfColorSpaceMBS.HasRange as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
Function: Whether the range array has values.
Notes: (Read only property)

Feedback, Comments & Corrections

DynapdfColorSpaceMBS.HasWhitePoint as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
Function: Whether the white point array has values.
Notes: (Read only property)

Feedback, Comments & Corrections

DynaPDFColorSpaceMBS.Index as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 16.0 Yes Yes Yes Yes No
Function: The index in the color space list for current document.
Notes:
Can be -1 if not known by plugin.
In that case you would need to get list of all colorspaces and compare handle values to see which entry you got.
(Read only property)

Feedback, Comments & Corrections

DynaPDFColorSpaceMBS.Manufacturer as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 16.0 Yes Yes Yes Yes No
Function: The manufacturer text for color space.
Notes:
For color spaces with valid ICC profile only.
(Read only property)

Feedback, Comments & Corrections

DynapdfColorSpaceMBS.MetaData as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
Function: Optional XMP metadata stream -> ICCBased only.
Notes: (Read only property)

Feedback, Comments & Corrections

DynapdfColorSpaceMBS.MetadataSize as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
Function: Metadata length in bytes.
Notes: (Read only property)

Feedback, Comments & Corrections

DynaPDFColorSpaceMBS.Model as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 16.0 Yes Yes Yes Yes No
Function: The model text for color space.
Notes:
For color spaces with valid ICC profile only.
(Read only property)

Feedback, Comments & Corrections

DynaPDFColorSpaceMBS.Name as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 16.0 Yes Yes Yes Yes No
Function: The name of the color space.
Notes:
For color spaces with valid ICC profile only.
The plugin picks name from Model, Description and Manufacturer properties.
(Read only property)

Feedback, Comments & Corrections

DynapdfColorSpaceMBS.NumColors as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
Function: The number of colors in this color space.
Notes:
HiVal + 1 as specified in the color space. Indexed color space only.
(Read only property)

Feedback, Comments & Corrections

DynapdfColorSpaceMBS.NumInComponents as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
Function: Number of input components.
Notes: (Read only property)

Feedback, Comments & Corrections

DynapdfColorSpaceMBS.NumOutComponents as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
Function: Number of output components.
Notes: (Read only property)

Feedback, Comments & Corrections

DynapdfColorSpaceMBS.Type as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 9.3 Yes Yes Yes Yes No
Function: The type of this color space.
Notes: (Read only property)

Feedback, Comments & Corrections

DynaPDFColorSpaceMBS.TypeString as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property DynaPDF MBS DynaPDF Plugin 16.0 Yes Yes Yes Yes No
Function: The type as string for viewing in debugger.
Notes: (Read only property)

Feedback, Comments & Corrections

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




Links
MBS Xojo Chart Plugins