Instance Property

hasAppearanceStream

Returns a Boolean value that indicates whether the annotation has an appearance stream associated with it.

Declaration

@property(nonatomic, readonly) BOOL hasAppearanceStream;

Return Value

YES if the annotation has an appearance stream; otherwise NO.

Discussion

An appearance stream is a sequence of draw instructions used to render a PDF item. If an appearance stream exists, PDF Kit draws the annotation using the stream, which may override existing set parameters (such as the stroke color set with setColor).

See Also

Managing Annotation Display Characteristics

bounds

Returns the bounding box for the annotation in page space.

border

Sets the border style for the annotation.

PDFBorder

An optional border for an annotation, drawn completely within the annotation rectangle.

color

Sets the stroke color for the annotation.