BBjFormFrame::getMiterLimit

Description

In BBj 4.00 and higher, this method gets the miter limit of the frame as described by java.awt.BasicStroke.

Syntax

Return Value Method
float getMiterLimit()

Parameters

None.

Return Value

Returns the miter limit as described by java.awt.BasicStroke.

Remarks

By default, the miter limit is 10.0.

Example

rem 'Get frame miter limit

rem 'Obtain the instance to the BBjAPI object
myAPI! = BBjAPI()

rem 'Obtain an instance of a default BBjPrinter object
myBBjPrinter! = myAPI!.getBBjPrinter(0)

rem 'Get BBjForm for the selected printer
myBBjForm! = myBBjPrinter!.getForm(1)

rem 'Get a new page
myBBjFormPage! = myBBjForm!.createPage()

rem 'Get a new frame
myBBjFormFrame! = myBBjFormPage!.newframe()

rem 'Get frame miter limit
miterLimit = myBBjFormFrame!.getMiterLimit()
release

ClosedVersion History

  • BBj 4.00: BBjFormFrame::getMiterLimit added.

See Also

BBjAPI

BBjFormFrame::setMiterLimit

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.