Need better scanning performance?
PatchCodeSearchingMargins
Parameter PatchCodeSearchingMargins defines the patch code searching margins.
Example
{
"PatchCodeSearchingMargins" :
{
"Bottom" : 20,
"Left" : 20,
"MeasuredByPercentage" : 1,
"Right" : 20,
"Top" : 20
}
}
Parameter Summary
Parameter PatchCodeSearchingMargins is set by a patch code searching margins object. The patch code searching margins object includes a series of child parameters to define the top, bottom, left, right margins and how they are measured.
Child Parameters
| Child Parameter Name | Child Parameter Summary |
|---|---|
| MeasuredByPercentage |
Description Defines whether to measure the margins by percentage. 1: measure by percentage. 0: do not measure by percentage. |
| Type int |
|
| Range [0,1] |
|
| Top |
Description Defines the margin-top. |
| Type int |
|
| Range When MeasureByPercentage = 1: [0,50] When MeasureByPercentage = 0: [0,0x7fffffff] |
|
| Bottom |
Description Defines the margin-bottom. |
| Type int |
|
| Range When MeasureByPercentage = 1: [0,50] When MeasureByPercentage = 0: [0,0x7fffffff] |
|
| Left |
Description Defines the margin-left. |
| Type int |
|
| Range When MeasureByPercentage = 1: [0,50] When MeasureByPercentage = 0: [0,0x7fffffff] |
|
| Right |
Description Defines the margin-right. |
| Type int |
|
| Range When MeasureByPercentage = 1: [0,50] When MeasureByPercentage = 0: [0,0x7fffffff] |
Default Setting
If the PatchCodeSearchingMargins is not configured in your template file, the following settings will be used as the default settings.
{
"PatchCodeSearchingMargins" :
{
"Bottom" : 20,
"Left" : 20,
"MeasuredByPercentage" : 1,
"Right" : 20,
"Top" : 20
}
}