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

SignatureDescription
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::PointCalls Position on this Artifact instance.
Position(value: Aspose::Pdf::Point)Calls Position(value) on this Artifact instance.
Rotation()doubleCalls Rotation on this Artifact instance.
Rotation(value: double)Calls Rotation(value) on this Artifact instance.
Opacity()doubleCalls Opacity on this Artifact instance.
Opacity(value: double)Calls Opacity(value) on this Artifact instance.
Text()std::stringCalls Text on this Artifact instance.
Text(value: std::string)Calls Text(value) on this Artifact instance.
TextState()Aspose::Pdf::Text::TextStateCalls TextState on this Artifact instance.
TextState(value: Aspose::Pdf::Text::TextState)Calls TextState(value) on this Artifact instance.
IsBackground()boolReturns true if background is set.
IsBackground(value: bool)Calls IsBackground(value) on this Artifact instance.

See Also