|
@@ -146,14 +146,14 @@ namespace PDF_Office.Helper
|
|
|
|
|
|
public static DefaultAnnotProperty GetAnnotDefaultProperty(AnnotArgsType annotToolType,string saveKey="")
|
|
|
{
|
|
|
- //if (Settings.Default.DefautAnnotProperties != null)
|
|
|
- //{
|
|
|
- // if(saveKey=="")
|
|
|
- // {
|
|
|
- // return Settings.Default.DefautAnnotProperties.GetAnnotProperty(annotToolType);
|
|
|
- // }
|
|
|
- // return Settings.Default.DefautAnnotProperties.GetAnnotProperty(annotToolType,saveKey);
|
|
|
- //}
|
|
|
+ if (Settings.Default.DefautAnnotProperties != null)
|
|
|
+ {
|
|
|
+ if (saveKey == "")
|
|
|
+ {
|
|
|
+ return Settings.Default.DefautAnnotProperties.GetAnnotProperty(annotToolType);
|
|
|
+ }
|
|
|
+ return Settings.Default.DefautAnnotProperties.GetAnnotProperty(annotToolType, saveKey);
|
|
|
+ }
|
|
|
return null;
|
|
|
}
|
|
|
|