close

Вход

Забыли?

вход по аккаунту

код для вставкиСкачать
This document shows how GemBox.Document supports Text Boxes.
GemBox.Document supports Shape Fill and Shape Outline through API so it reads them from DOCX and
renders them to PDF and other rendering formats (PDF, XPS and image formats).
GemBox.Document doesn't yet support Shape Styles so Shape Fill and Shape Outline must be set directly
on Text Box and not by using Shape Styles.
For Text Box created with GemBox.Document API, Shape Fill will be set to white and Shape Outline will
be set to black ½ pt.
For more information about Text Boxes, see Shapes and Layout help page.
Following text is used to show how GemBox.Document wraps text around Text Boxes when rendering
document.
Text Box in front of
text with transparent
fill.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur gravida odio tortor, ut cursus sem
consequat luctus. Cras eros nibh, mollis et dapibus non, cursus placerat augue. Sed luctus, sapien eget
viverra mattis, purus nisi ultrices leo, pharetra rutrum diam nulla a nisi. Nulla vel condimentum tortor.
Sed consequat pharetra quam.
Proin eu orci bibendum, adipiscing velit a,
Text Box with text
tristique libero. Fusce hendrerit
tempus neque et congue.
wrapped around it
Sed urna lorem, aliquet id
molestie non, vestibulum quis enim.
with thick red
Integer adipiscing commodo
ipsum, non faucibus quam faucibus a.
outline and green
Duis eget porttitor nibh. Aenean
hendrerit dolor malesuada, viverra augue
fill.
eu, faucibus magna. Sed
scelerisque, nisl id bibendum ornare, nisi
enim rutrum neque, ut semper
ipsum urna et neque. Maecenas vitae
orci mauris. Pellentesque vitae tempor massa, vel aliquam magna. Nunc malesuada dignissim tristique.
Ut sem quam, cursus nec tincidunt at, vehicula sit amet tellus. Mauris eu vestibulum metus. Sed sed
consequat lectus. Nullam varius velit id tellus pharetra, sit amet eleifend odio egestas. Nullam dolor
augue, vehicula sed lectus ut, ultricies ultrices lacus. Suspendisse malesuada sagittis lectus sed eleifend.
Cras et sollicitudin diam.
Integer molestie mollis elit, id euismod nulla varius vitae. Proin convallis, felis eget egestas scelerisque,
mauris orci commodo metus, in mollis quam lorem et turpis. Pellentesque nec auctor nisl, eget dignissim
dolor. Praesent tristique aliquam velit at tempor. Nulla blandit diam ut arcu laoreet, sed scelerisque nunc
sodales. Donec ac sem ut sapien rhoncus convallis eget quis nisl. Suspendisse pulvinar dolor orci, id
consequat lacus consequat nec. Pellentesque est felis, molestie quis mauris adipiscing, interdum
pharetra est. Integer viverra eleifend mi eget viverra.
1/--страниц
Пожаловаться на содержимое документа