InlineShapes.AddHorizontalLine(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a horizontal line based on an image file to the current document.
public Microsoft.Office.Interop.Word.InlineShape AddHorizontalLine (string FileName, ref object Range);
abstract member AddHorizontalLine : string * obj -> Microsoft.Office.Interop.Word.InlineShape
Public Function AddHorizontalLine (FileName As String, Optional ByRef Range As Object) As InlineShape
Parameters
- FileName
- String
Required String. The file name of the image you want to use for the horizontal line.
- Range
- Object
Optional Object. The range above which Microsoft Word places the horizontal line. If this argument is omitted, Word places the horizontal line above the current selection.
Returns
Remarks
To add a horizontal line that isn't based on an existing image file, use the AddHorizontalLineStandard(Object) method.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro