![]() ![]() SubDocument textBoxDocument = ĬharacterProperties cp = textBoxDocument.BeginUpdateCharacters(, 4) Ĭp.ForeColor = ĭim myTextBox As Shape = (, New RectangleF(1.5F, 1F, 1.5F, 0.5F)) Specify the text box background color. Picture.HorizontalAlignment = ShapeHorizontalAlignment.Center Picture.VerticalAlignment = ShapeVerticalAlignment.Top Picture.HorizontalAlignment = ShapeHorizontalAlignment.Center ĭim picture As Shape = (, DocumentImageSource.FromFile("Dog.png")) ![]() Shape picture = (, DocumentImageSource.FromFile("Dog.png")) The example below inserts a picture with rounded corners. JPEG File Interchange Format (*.jpg, *.jpeg).The following image formats are available: Use the Shape.PictureFormat property to access picture settings. (Color.FromArgb(&HFF, &HEE, &HAD))īorder.Color = Color.FromArgb(&H4D, &H64, &H8D)Ĭall the ShapeCollection.InsertPicture method to insert a picture into a document. (Color.FromArgb(0xFF, 0圎E, 0xAD)) īorder.Color = Color.FromArgb(0x4D, 0圆4, 0x8D) ĭim document As Document = wordProcessor.Documentĭocument.Unit = ĭim rectangle As Shape = (, ShapeGeometryPreset.Rectangle, New RectangleF(1.5F, 1F, 2F, 1.5F)) Shape rectangle = (, ShapeGeometryPreset.Rectangle, new RectangleF(1.5f, 1f, 2f, 1.5f)) Document document = wordProcessor.Document ĭocument.Unit = ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |