Platforms to show: All Mac Windows Linux Cross-Platform

PDFBorderMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method PDFKit MBS MacControls Plugin 13.1 Yes No No Yes, macOS only No
Function: The private constructor.

See also:

Feedback, Comments & Corrections

PDFBorderMBS.Constructor(Handle as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method PDFKit MBS MacControls Plugin 20.2 Yes No No Yes, macOS only No
Function: Creates a new object based on a given PDFBorder handle.
Notes:
Please pass in a non zero handle which points to a PDFBorder object.
For use with declares.

See also:

Feedback, Comments & Corrections

PDFBorderMBS.copy as PDFBorderMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method PDFKit MBS MacControls Plugin 13.1 Yes No No Yes, macOS only No
Function: Creates a copy of the border object.
Notes: Not available in Mac OS X 10.6.

Feedback, Comments & Corrections

PDFBorderMBS.dashPattern as Double()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method PDFKit MBS MacControls Plugin 12.5 Yes No No Yes, macOS only No
Function: Gets the dash pattern for the border.
Notes: Refer to the description for NSBezierPath for more information.

Feedback, Comments & Corrections

PDFBorderMBS.horizontalCornerRadius as single
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property PDFKit MBS MacControls Plugin 8.0 Yes No No Yes, macOS only No
Function: For rounded-rect borders, the corner radius.
Notes:
Deprecated in Mac OS X 10.7.
(Read and Write computed property)

Feedback, Comments & Corrections

PDFBorderMBS.lineWidth as single
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property PDFKit MBS MacControls Plugin 8.0 Yes No No Yes, macOS only No
Function: Width of line used to strok border.
Example:
dim f as FolderItem = SpecialFolder.Desktop.Child("test.pdf")
dim doc as new PDFDocumentMBS(f)

dim page as PDFPageMBS = doc.pageAtIndex(0)
dim a as new PDFAnnotationSquareMBS(100,100,100,100)

a.interiorColor = NSColorMBS.greenColor
a.colorValue = NSColorMBS.redColor
a.border.lineWidth=5

page.addAnnotation(a)

dim o as FolderItem = SpecialFolder.Desktop.Child("testout.pdf")
call doc.write(o)
o.Launch
Notes: (Read and Write computed property)

Feedback, Comments & Corrections

PDFBorderMBS.setDashPattern(values() as Double)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method PDFKit MBS MacControls Plugin 12.5 Yes No No Yes, macOS only No
Function: Sets the dash pattern for the border.
Notes: Refer to the description for NSBezierPath for more information.

Feedback, Comments & Corrections

PDFBorderMBS.style as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property PDFKit MBS MacControls Plugin 8.0 Yes No No Yes, macOS only No
Function: Whether border is drawn solid, dashed etc.
Example:
dim f as FolderItem = SpecialFolder.Desktop.Child("test.pdf")
dim doc as new PDFDocumentMBS(f)

dim page as PDFPageMBS = doc.pageAtIndex(0)
dim a as new PDFAnnotationSquareMBS(100,100,100,100)

a.border.style = PDFBorderMBS.kPDFBorderStyleDashed

page.addAnnotation(a)

dim o as FolderItem = SpecialFolder.Desktop.Child("testout.pdf")
call doc.write(o)
o.Launch
Notes:
Use this constants:

kPDFBorderStyleSolid = 0
kPDFBorderStyleDashed = 1
kPDFBorderStyleBeveled = 2
kPDFBorderStyleInset = 3
kPDFBorderStyleUnderline = 4
(Read and Write computed property)

Feedback, Comments & Corrections

PDFBorderMBS.verticalCornerRadius as single
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property PDFKit MBS MacControls Plugin 8.0 Yes No No Yes, macOS only No
Function: For rounded-rect borders, the corner radius.
Notes:
Deprecated in Mac OS X 10.7.
(Read and Write computed property)

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo blog