Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PDFOutline"/> class.
 /// </summary>
 /// <param name="title">The outline text.</param>
 /// <param name="destinationPage">The destination page.</param>
 /// <param name="opened">Specifies whether the node is displayed expanded (opened) or collapsed.</param>
 /// <param name="style">The font style used to draw the outline text.</param>
 public PDFOutline(string title, PDFPage destinationPage, bool opened, PDFOutlineStyle style)
 {
     Title           = title;
     DestinationPage = destinationPage;
     Opened          = opened;
     Style           = style;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PDFOutline"/> class.
 /// </summary>
 /// <param name="title">The outline text.</param>
 /// <param name="destinationPage">The destination page.</param>
 /// <param name="opened">Specifies whether the node is displayed expanded (opened) or collapsed.</param>
 /// <param name="style">The font style used to draw the outline text.</param>
 /// <param name="textColor">The color used to draw the outline text.</param>
 public PDFOutline(string title, PDFPage destinationPage, bool opened, PDFOutlineStyle style, XColor textColor)
 {
     Title           = title;
     DestinationPage = destinationPage;
     Opened          = opened;
     Style           = style;
     TextColor       = textColor;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PDFOutline"/> class.
 /// </summary>
 /// <param name="title">The outline text.</param>
 /// <param name="destinationPage">The destination page.</param>
 public PDFOutline(string title, PDFPage destinationPage)
 {
     Title           = title;
     DestinationPage = destinationPage;
 }