BBjFormFrame::setMiterLimit

Description

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

Syntax

Return Value Method
void setMiterLimit(float limit)

Parameters

Parameter Description
limit Specifies the miter limit as described by java.awt.BasicStroke.

Return Value

None.

Remarks

By default, the miter limit is 10.0.

Example

rem 'Set 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 'Set frame miter limit
myBBjFormFrame!.setMiterLimit(1.0)
release

ClosedVersion History

  • BBj 4.00: BBjFormFrame::setMiterLimit added.

See Also

BBjAPI

BBjFormFrame::getMiterLimit

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