Пример #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;
 }
Пример #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;
 }
Пример #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;
 }