AddPRCAnnotationFromStream
3D, annotations, streams, PDF 2.0
Description
Embeds PRC model data from the current stream position through the end of the stream
Syntax
Delphi
Function TPDFlib.AddPRCAnnotationFromStream(Left, Top, Width, Height: Double; Source: TStream; Const Title, ViewName: WideString; Activation: TPDFlibRichMediaActivation; Deactivation: TPDFlibRichMediaDeactivation; Options: Integer): Integer;Parameters
| Source | Assigned stream with at least one remaining byte |
|---|---|
| Title, ViewName | Non-empty accessible title and default view name |
| Other parameters | Use the geometry and lifecycle semantics described by AddPRCAnnotationFromFile |
Return values
Returns 1 on success or 0 when validation or reading fails
Remarks
The remaining byte count must fit in a signed 32-bit buffer and the stream is consumed to its end on success