Aspose::Pdf::Drawing::Graph class

Graph class

Represents graph - graphics generator paragraph.

class Graph : public Aspose::Pdf::BaseParagraph

Methods

MethodDescription
BaseParagraph()
Clone() overrideClone the graph.
get_Border() constGets the border.
get_GraphInfo() constGets a GraphInfo object that indicates the graph info,such as color, line width,etc.
get_Height() constGets a float value that indicates the graph height. The unit is point.
virtual get_HorizontalAlignment()Gets a horizontal alignment of paragraph.
virtual get_Hyperlink()Gets the fragment hyperlink(for pdf generator).
get_IsChangePosition() constGets change curret position after process paragraph.(default true)
get_IsFirstParagraphInColumn() constGets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation)
get_IsInLineParagraph() constGets a paragraph is inline. Default is false.(for pdf generation)
get_IsInNewPage() constGets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation)
get_IsKeptWithNext() constGets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation)
get_Left() constGets the table left coordinate.
get_Margin()Gets a outer margin for paragraph (for pdf generation)
get_Shapes() constGets a Shapes collection that indicates all shapes in the graph.
get_Title() constGets a string value that indicates the title of the graph.
get_Top() constGets the table top coordinate.
virtual get_VerticalAlignment()Gets a vertical alignment of paragraph.
get_Width() constGets a float value that indicates the graph width. The unit is point.
get_ZIndex() constGets a int value that indicates the Z-order of the graph. A graph with larger ZIndex will be placed over the graph with smaller ZIndex. ZIndex can be negative. Graph with negative ZIndex will be placed behind the text in the page.
Graph(double, double)Initializes a new instance of the Graph class.
Graph(float, float)Initializes a new instance of the Graph class.
set_Border(System::SharedPtr<BorderInfo>)Sets the border.
set_GraphInfo(System::SharedPtr<Aspose::Pdf::GraphInfo>)Sets a GraphInfo object that indicates the graph info,such as color, line width,etc.
set_Height(double)Sets a float value that indicates the graph height. The unit is point.
virtual set_HorizontalAlignment(Aspose::Pdf::HorizontalAlignment)Sets a horizontal alignment of paragraph.
virtual set_Hyperlink(System::SharedPtr<Aspose::Pdf::Hyperlink>)Sets the fragment hyperlink(for pdf generator).
set_IsChangePosition(bool)Sets change curret position after process paragraph.(default true)
set_IsFirstParagraphInColumn(bool)Sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation)
set_IsInLineParagraph(bool)Sets a paragraph is inline. Default is false.(for pdf generation)
set_IsInNewPage(bool)Sets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation)
set_IsKeptWithNext(bool)Sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation)
set_Left(double)Sets the table left coordinate.
set_Margin(System::SharedPtr<MarginInfo>)Sets a outer margin for paragraph (for pdf generation)
set_Shapes(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Shape>>>)Sets a Shapes collection that indicates all shapes in the graph.
set_Title(System::SharedPtr<Aspose::Pdf::Text::TextFragment>)Sets a string value that indicates the title of the graph.
set_Top(double)Sets the table top coordinate.
virtual set_VerticalAlignment(Aspose::Pdf::VerticalAlignment)Sets a vertical alignment of paragraph.
set_Width(double)Sets a float value that indicates the graph width. The unit is point.
set_ZIndex(int32_t)Sets a int value that indicates the Z-order of the graph. A graph with larger ZIndex will be placed over the graph with smaller ZIndex. ZIndex can be negative. Graph with negative ZIndex will be placed behind the text in the page.

See Also