Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

Creates a CopyPasteProperties object with the specified data type properties set.

Signature
C#
C#
 public CopyPasteProperties CreateCopyPasteProperties(CopyPasteType typeMask)
{signature}{signature:
}
Signature
vb.net
vb.net
Public Function CreateCopyPasteProperties(ByVal typeMask As CopyPasteType) As CopyPasteProperties
{signature}
{parameters}
{param:typeMask}A CopyPasteProperties constant value indicating the types of data to copy from an external worksheet.{param}
{returns}A {{CopyPasteProperties}} object.{returns}
{remarks}
 This object is used when copying data from an external worksheet.

Used with the [Worksheet.CopyPaste|Worksheet.CopyPaste(string, Area, CopyPasteProperties)] method of the [Worksheet].

{remarks}
{example}{code:csharp|title=C#}
Parameters
Param
typeMask
typeMask

A CopyPasteProperties constant value indicating the types of data to copy from an external worksheet.

Returns

A CopyPasteProperties object.

Remarks

This object is used when copying data from an external worksheet.

Used with the Worksheet.CopyPaste method of the Worksheet.

Example
Code Block
csharp
csharp
titleC#


          CopyPasteProperties properties =
               ws.CreateCopyPasteProperties(
               CopyPasteProperties.ValuesOnly);
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          Dim properties As CopyPasteProperties = _
               ws.CreateCopyPasteProperties( _
               CopyPasteProperties.ValuesOnly)
        
{code} {example}