iTextSharp.text.Chunk.SetAttribute C# (CSharp) Метод

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

Sets an arbitrary attribute.
private SetAttribute ( string name, Object obj ) : Chunk
name string the key for the attribute
obj Object the value of the attribute
Результат Chunk
        private Chunk SetAttribute(string name, Object obj)
        {
            if (attributes == null)
                attributes = new Dictionary<string,object>();
            attributes[name] = obj;
            return this;
        }

Usage Example

Пример #1
0
        public static Chunk CreateTabspace(float spacing)
        {
            Chunk tabspace = new Chunk(" ");

            tabspace.SetAttribute(TABSPACE, spacing);
            return(tabspace);
        }
All Usage Examples Of iTextSharp.text.Chunk::SetAttribute