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
Wiki Markup
{description}
{excerpt}Creates a [CopyPasteProperties|CopyPasteProperties] object with the specified data type properties set. 
{excerpt}
{signature:C#}
 public CopyPasteProperties CreateCopyPasteProperties(CopyPasteType typeMask)
{signature}{signature: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#}

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

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