PdfSharp.Xps.Rendering.PdfContentWriter.PdfContentWriter C# (CSharp) Méthode

PdfContentWriter() public méthode

public PdfContentWriter ( PdfSharp.Xps.Rendering.DocumentRenderingContext context, PdfSharp.Pdf.PdfDictionary contentDictionary ) : System
context PdfSharp.Xps.Rendering.DocumentRenderingContext
contentDictionary PdfSharp.Pdf.PdfDictionary
Résultat System
    public PdfContentWriter(DocumentRenderingContext context, PdfDictionary contentDictionary)
    {
      if (!(contentDictionary is IContentStream))
        throw new ArgumentException("contentDictionary must implement IContentStream.");
      this.context = context;
      this.contentDictionary = contentDictionary;
      this.contentStreamDictionary = (IContentStream)contentDictionary;
      this.renderMode = RenderMode.Default;
      //this.colorMode = page.document.Options.ColorMode;
      //this.options = options;
      this.content = new StringBuilder();
      this.graphicsState = new PdfGraphicsState(this);
    }

Same methods

PdfContentWriter::PdfContentWriter ( PdfSharp.Xps.Rendering.DocumentRenderingContext context, PdfPage page ) : System
PdfContentWriter::PdfContentWriter ( PdfSharp.Xps.Rendering.DocumentRenderingContext context, PdfSharp.Drawing.XForm form, RenderMode renderMode ) : System