iTextSharp.text.pdf.PdfContentByte.Reset C# (CSharp) Метод

Reset() публичный Метод

public Reset ( ) : void
Результат void
        public void Reset()
        {
            Reset( true );
        }

Same methods

PdfContentByte::Reset ( bool validateContent ) : void

Usage Example

 protected internal void SetNewPageSizeAndMargins() {
     pageSize = nextPageSize;
     if (marginMirroring && (PageNumber & 1) == 0) {
         marginRight = nextMarginLeft;
         marginLeft = nextMarginRight;
     }
     else {
         marginLeft = nextMarginLeft;
         marginRight = nextMarginRight;
     }
     if (marginMirroringTopBottom && (PageNumber & 1) == 0) {
         marginTop = nextMarginBottom;
         marginBottom = nextMarginTop;
     }
     else {
         marginTop = nextMarginTop;
         marginBottom = nextMarginBottom;
     }
     if (!IsTagged(writer)) {
         text = new PdfContentByte(writer);
         text.Reset();
     } else {
         text = graphics;
     }
     text.BeginText();
     // we move to the left/top position of the page
     text.MoveText(Left, Top);
     if (IsTagged(writer))
         textEmptySize = text.Size;
 }
All Usage Examples Of iTextSharp.text.pdf.PdfContentByte::Reset
PdfContentByte