Exemplo n.º 1
0
        public ImageParagraph Image(string imageName, Margin margin, int indent)
        {
            ImageParagraph paragraph = new ImageParagraph(margin, indent);

            paragraph.Image(imageName);

            m_Paragraphs.Add(paragraph);

            return(paragraph);
        }
Exemplo n.º 2
0
        public ImageParagraph Image(string imageName, Size imageSize, Margin margin = new Margin(), int indent = 0)
        {
            ImageParagraph paragraph = new ImageParagraph(margin, indent);

            paragraph.Image(imageName, imageSize);

            m_Paragraphs.Add(paragraph);

            return(paragraph);
        }
Exemplo n.º 3
0
        public ImageParagraph Image(string imageName, Size?imageSize = null, Rectangle?textureRect = null, Color?imageColor = null, Margin margin = new Margin(), int indent = 0)
        {
            ImageParagraph paragraph = new ImageParagraph(margin, indent);

            paragraph.Image(imageName, imageSize, textureRect, imageColor);

            m_Paragraphs.Add(paragraph);

            return(paragraph);
        }