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

PdfChunk() приватный Метод

private PdfChunk ( string str, PdfChunk other ) : System
str string
other PdfChunk
Результат System
        internal PdfChunk(string str, PdfChunk other)
        {
            thisChunk[0] = this;
            value = str;
            this.font = other.font;
            this.attributes = other.attributes;
            this.noStroke = other.noStroke;
            this.baseFont = other.baseFont;
            this.changeLeading = other.changeLeading;
            this.leading = other.leading;
            Object[] obj = null;
            if (attributes.ContainsKey(Chunk.IMAGE))
                obj = (Object[])attributes[Chunk.IMAGE];
            if (obj == null)
                image = null;
            else {
                image = (Image)obj[0];
                offsetX = (float)obj[1];
                offsetY = (float)obj[2];
                changeLeading = (bool)obj[3];
            }
            encoding = font.Font.Encoding;
            if (noStroke.ContainsKey(Chunk.SPLITCHARACTER))
                splitCharacter = (ISplitCharacter)noStroke[Chunk.SPLITCHARACTER];
            else
                splitCharacter = DefaultSplitCharacter.DEFAULT;
        }

Same methods

PdfChunk::PdfChunk ( ) : System
PdfChunk::PdfChunk ( Chunk chunk, PdfAction action ) : System