Artifact
Overview
Artifact is a class in Aspose.PDF FOSS for C++.
This class provides 14 methods for working with Artifact objects in C++ programs.
Available methods include: IsBackground, Opacity, Position, Rotation, SetImage, SetTextAndState, Text, TextState.
All public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.
Methods
| Signature | Description |
|---|---|
SetTextAndState(text: std::string, textState: Aspose::Pdf::Text::TextState) | Sets the text and state value. |
SetImage(imageStream: std::vector<std::byte>) | Sets the image value. |
Position() → Aspose::Pdf::Point | Calls Position on this Artifact instance. |
Position(value: Aspose::Pdf::Point) | Calls Position(value) on this Artifact instance. |
Rotation() → double | Calls Rotation on this Artifact instance. |
Rotation(value: double) | Calls Rotation(value) on this Artifact instance. |
Opacity() → double | Calls Opacity on this Artifact instance. |
Opacity(value: double) | Calls Opacity(value) on this Artifact instance. |
Text() → std::string | Calls Text on this Artifact instance. |
Text(value: std::string) | Calls Text(value) on this Artifact instance. |
TextState() → Aspose::Pdf::Text::TextState | Calls TextState on this Artifact instance. |
TextState(value: Aspose::Pdf::Text::TextState) | Calls TextState(value) on this Artifact instance. |
IsBackground() → bool | Returns true if background is set. |
IsBackground(value: bool) | Calls IsBackground(value) on this Artifact instance. |