Cmdlet
New-OfficePdfRedactionArea
Creates a redaction area for Remove-OfficePdfContent and Get-OfficePdfRedactionPlan -Area.
Syntax
New-OfficePdfRedactionArea
-Height <OfficeLength>
[-Label <String>]
[-Page] <Int32>
-Width <OfficeLength>
-X <OfficeLength>
-Y <OfficeLength>
[<CommonParameters>]#Parameter set:
DefaultExamples
Use the native OfficePdfRedactionArea command.
$area = New-OfficePdfRedactionArea -Page 1 -X 2cm -Y 3cm -Width 8cm -Height 2cm -Label 'Signature'
Remove-OfficePdfContent -Path .\Contracts\Signed.pdf -OutputPath .\Contracts\Signed-Redacted.pdf -Area $areaParameters
- -Height OfficeLength
- Height for this operation.
- -Label String
- Label for this operation.
- -Page Int32
- Page for this operation.
- -Width OfficeLength
- Width for this operation.
- -X OfficeLength
- X for this operation.
- -Y OfficeLength
- Y for this operation.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.