コード例 #1
0
 /// <summary>
 /// Sets the text rendering mode.
 /// </summary>
 public void SetTextRenderingMode(PdfTextRenderingMode value)
 {
     if (!isInTextBlock)
     {
         throw new InvalidOperationException("Must call BeginText() before this operation.");
     }
     this.Write(((int)value).ToString());
     this.WriteLine(" Tr");
 }
コード例 #2
0
 public PdfTextOptions(PdfFont font, double fontSize, PdfColor inkColor, int leftRotationDegrees, PdfTextRenderingMode renderingMode = PdfTextRenderingMode.Fill, PdfColor outlineColor = null, double? outlineWidth = null, PdfLineDashPattern lineDashPattern = null, PdfLineCapStyle? lineCapStyle = null)
 {
     this.InkColor = inkColor ?? PdfColor.Black;
     this.Font = font;
     this.FontSize = fontSize;
     this.LeftRotationDegrees = leftRotationDegrees;
     this.RenderingMode = renderingMode;
     this.OutlineColor = outlineColor;
     this.LineDashPattern = lineDashPattern;
     this.LineCapStyle = LineCapStyle;
     this.OutlineWidth = outlineWidth;
 }
コード例 #3
0
 public PdfTextOptions(PdfFont font, double fontSize, PdfColor inkColor, int leftRotationDegrees, PdfTextRenderingMode renderingMode = PdfTextRenderingMode.Fill, PdfColor outlineColor = null, double?outlineWidth = null, PdfLineDashPattern lineDashPattern = null, PdfLineCapStyle?lineCapStyle = null)
 {
     this.InkColor            = inkColor ?? PdfColor.Black;
     this.Font                = font;
     this.FontSize            = fontSize;
     this.LeftRotationDegrees = leftRotationDegrees;
     this.RenderingMode       = renderingMode;
     this.OutlineColor        = outlineColor;
     this.LineDashPattern     = lineDashPattern;
     this.LineCapStyle        = LineCapStyle;
     this.OutlineWidth        = outlineWidth;
 }
コード例 #4
0
 /// <summary>
 /// Sets the text rendering mode.
 /// </summary>
 public void SetTextRenderingMode(PdfTextRenderingMode value)
 {
     if (!isInTextBlock) throw new InvalidOperationException("Must call BeginText() before this operation.");
     this.Write(((int)value).ToString());
     this.WriteLine(" Tr");
 }